import request from './_axios'
export function reqRegister(obj) {
  return request({
    url: '/user/register',
    method: 'post',
    data: obj
  })
}

export function reqLogin(obj) {
  return request({
    url: '/user/login',
    method: 'post',
    data: obj
  })
}

export function reqUpdateUser(obj) {
  return request({
    url: '/user/update',
    method: 'post',
    data: obj
  })
}
export function headerIcon() {
  return request({
    url: '/user/headerIcon',
    method: 'get'
  })
}

export function reqUser() {
  return request({
    url: '/user/reqUser',
    method: 'get'
  })
}

export function reqUserList() {
  return request({
    url: '/user/reqUserList',
    method: 'get'
  })
}
